﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CartDetail.ascx.cs" Inherits="FrontEnd_Body_Center_CartDetail" %>
   <%if (_existsCart == true)
      { %>
<asp:DataList ID="dlCartDetail" runat="server">
    <HeaderTemplate>
        <div class="cart_title">
            <div class="item1">
                <%=Component.Languages.SearchByKeyWord("stt")%>
            </div>
            <div class="item2">
                <%=Component.Languages.SearchByKeyWord("tspm")%>
            </div>
            <div class="item3">
                 <%=Component.Languages.SearchByKeyWord("slg")%>
            </div>
            <div class="item3">
                <%=Component.Languages.SearchByKeyWord("tlg")%>
            </div>
        </div>
    </HeaderTemplate>
    <ItemTemplate>
       <div class="row cart_title cart_item">
            <div class="item1">
                <%=this._dem%>
                <asp:HiddenField ID="idProduct" runat ="server" Value='<%#Eval("Product.Id")%>' />
            </div>
            <div class="item2">
              <%#Eval("NameProduct")%>
            </div>
            <div class="item3">
            <asp:TextBox  id="txtNumber" Text='<%#Eval("Quantity")%>' runat="server"  style="width: 50px;"></asp:TextBox>
                x
            </div>
            <div class="item3">
                <%#Eval("Product.Weight")%>gr
            </div>
        </div>
    </ItemTemplate>
</asp:DataList>
<div>    
    <div class="row">
        <div class="btn_xoahet">
            <div class="btn_muahang_left">
            
            </div>
            <div class="btn_xoahet_center">
                <a href="<%=Component.ConstString._Default+Component.ConstString._Del %>"><%=Component.Languages.SearchByKeyWord("xht")%></a></div>
            <div class="btn_muahang_right">
            </div>
        </div>
        <div class="btn_muahang">
            <div class="btn_muahang_left">
            </div>
            <div class="btn_muahang_center">
                <a href="javascript:void(0);" onclick="GetMenu('<%=Component.ConstString._AjaxProduct%>')"><%=Component.Languages.SearchByKeyWord("mtm")%></a></div>
            <div class="btn_muahang_right">
            </div>
        </div>
    </div>
</div>
<%} %>